package com.xywl.escort.view.operation;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;
import com.xywl.escort.view.message.MessageActivity;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class OperationRecordModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract OperationRecordActivity operationRecordActivity();

    @ActivityScoped
    @Binds
    abstract OperationRecordContract.Presenter operationRecordPresenter(OperationRecordPresenter presenter);
}
